import request from '../request'

//实时用电
export const Electricity = () => request({
    url: '/api/deviceWorking/electricityConsumption',
    method: 'get'
})

//实时报警
export const Alarm = () => request({
    url: '/api/deviceWorking/allPoliceData',
    method: 'get'
})

//设备监测接口
export const Detection = () => request({
    url: '/api/deviceWorking/equipmentTesting',
    method: 'get'
})

//场地使用
export const Field = () => request({
    url: '/api/deviceWorking/venueUse',
    method: 'get'
})